package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-06
 */
@TableName("nb_hsgt_stats")
public class HsgtStats extends Model<HsgtStats> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("g_sales_name")
    private String gSalesName;
    @TableField("g_sales_code")
    private int gSalesCode;
    /**
     * 日期
     */
    @TableField("g_detail_date")
    private Date gDetailDate;
    /**
     * 当日流入(亿)
     */
    @TableField("g_drzjlr")
    private Double gDrzjlr;
    /**
     * 当日余额(亿)
     */
    @TableField("g_daye")
    private Double gDaye;
    /**
     * 资金流入累计(亿)
     */
    @TableField("g_slzjlr")
    private Double gSlzjlr;
    /**
     * 当日成交(净买额)
     */
    @TableField("g_drcjjme")
    private Double gDrcjjme;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getgSalesName() {
        return gSalesName;
    }

    public void setgSalesName(String gSalesName) {
        this.gSalesName = gSalesName;
    }

    public int getgSalesCode() {
        return gSalesCode;
    }

    public void setgSalesCode(int gSalesCode) {
        this.gSalesCode = gSalesCode;
    }

    public Date getgDetailDate() {
        return gDetailDate;
    }

    public void setgDetailDate(Date gDetailDate) {
        this.gDetailDate = gDetailDate;
    }

    public Double getgDrzjlr() {
        return gDrzjlr;
    }

    public void setgDrzjlr(Double gDrzjlr) {
        this.gDrzjlr = gDrzjlr;
    }

    public Double getgDaye() {
        return gDaye;
    }

    public void setgDaye(Double gDaye) {
        this.gDaye = gDaye;
    }

    public Double getgSlzjlr() {
        return gSlzjlr;
    }

    public void setgSlzjlr(Double gSlzjlr) {
        this.gSlzjlr = gSlzjlr;
    }

    public Double getgDrcjjme() {
        return gDrcjjme;
    }

    public void setgDrcjjme(Double gDrcjjme) {
        this.gDrcjjme = gDrcjjme;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HsgtStats{" +
        "id=" + id +
        ", gSalesName=" + gSalesName +
        ", gSalesCode=" + gSalesCode +
        ", gDetailDate=" + gDetailDate +
        ", gDrzjlr=" + gDrzjlr +
        ", gDaye=" + gDaye +
        ", gSlzjlr=" + gSlzjlr +
        ", gDrcjjme=" + gDrcjjme +
        "}";
    }
}
